Previous Book Contents Book Index Next

Inside Macintosh: Programming With the Text Encoding Conversion Manager /
Chapter 1 - About Text Encodings and Conversions


About the Text Encoding Manager Package

The Text Encoding Conversion Manager comprises the Text Encoding Converter, the Unicode Converter, Basic Text Types, and the Text Encodings folder that includes files containing mapping tables and text plug-ins. The first three of these components are delivered as shared libraries called UnicodeConverter (the Unicode Converter), TextEncodingConverter (the Text Encoding Converter), and TextCommon (Basic Text Types). PowerPC and 68K versions of these shared libraries, and the resources they require, are included in the Text Encoding Converter extension. Beginning with Mac OS 8.5, PowerPC versions of the UnicodeConverter and TextCommon shared libraries, and the resources they require, are also in the System file.

About Earlier Releases

Text Encoding Converter (TEC) Manager 1.0.x was released for use with Cyberdog 1.0 and 1.2 and with Macintosh Runtime for Java 1.0. TEC Manager 1.1 was released for use with Cyberdog 2.0, and TEC Manager 1.2 was released with Mac OS 8. TEC Manager 1.2.1 was released as an SDK in September 1997. TEC Manager 1.3 was released with Mac OS 8.1, and was also released as an SDK.

Header files for TEC Manager 1.2 were distributed with the Universal Interfaces 3.0. In previous versions of the Text Encoding Conversion Manager, the Unicode Converter was called the Low-Level Encoding Converter and the Text Encoding Converter was called the High-Level Encoding Converter.

Checking the Version

Versions 1.2.1 and later of the Text Encoding Conversion Manager include the TECGetInfo function, which returns the product version number and other information. This function does not exist in previous releases; absence of this function identifies the version in use as 1.2 or earlier.

You can determine if an earlier release of the Text Encoding Conversion Manager is in use by soft-linking to the TECGetInfo function.

Unicode Converter 68K Static Libraries

For those of you who do not want to use the Code Fragment Manager (CFM) 68K version of the Unicode Converter, a 68K static library version of the Unicode Converter and Basic Text functions is available for Text Encoding Manager 1.3 and later.

These static libraries use resources from the Text Encoding Converter extension and from the files in the Text Encodings folder, so both of these must be present whether you use the CFM 68K version of the Unicode Converter or the 68K shared libraries.

To use the static libraries, install the full shared library version comprised of the table files and extension. If you use the 68K static libraries, explicitly initialize and terminate the Unicode Converter using its functions provided for this purpose.


Subtopics
About Earlier Releases
Checking the Version
Unicode Converter 68K Static Libraries

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 NOV 1997